package com.woniuxy.mongdbtest.entity;


import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Date;


@Data
@Document("Schedule")
public class Schedule extends BaseMongoEntity {

	private static final long serialVersionUID = 1L;

	@Indexed //普通索引
	private String hoscode;

	@Indexed //普通索引
	private String depcode;

	private String title;

	private String docname;

	private String skill;

	private Date workDate;

	private Integer workTime;

	private Integer reservedNumber;

	private Integer availableNumber;

	private BigDecimal amount;

	private Integer status;

	@Indexed //普通索引
	private String hosScheduleId;

}

